package org.example.taobao.demo.order.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author liwei
 * @date 2022/6/11 6:46 PM
 */
@Component
@Data
public class GoodProperties {

    @Value("${query.good.service.url:http://localhost:6081/api/good/%s}")
    private String queryGoodServiceUrl;

    @Value("${deduct.good.stock.service.url:http://localhost:6081/api/good/deduct}")
    private String deductGoodStockServiceUrl;
}
